package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * banner轮播图列对象 mini_banner
 * 
 * @author duantao
 * @date 2025-09-11
 */
public class MiniBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** bannerID */
    private Long id;

    /** banner图Url */
    @Excel(name = "banner图Url")
    private String bannerImgUrl;

    /** 关联的类型（活动/线下课） */
    @Excel(name = "关联的类型", readConverterExp = "活=动/线下课")
    private String linkType;

    /** 关联ID（用于跳转页面） */
    @Excel(name = "关联ID", readConverterExp = "用=于跳转页面")
    private Long linkId;

    /** 关联的活动/线下课名称 */
    @Excel(name = "关联的活动/线下课名称")
    private String linkName;

    /** 删除标志（0-未删除 1-已删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setBannerImgUrl(String bannerImgUrl) 
    {
        this.bannerImgUrl = bannerImgUrl;
    }

    public String getBannerImgUrl() 
    {
        return bannerImgUrl;
    }

    public void setLinkType(String linkType) 
    {
        this.linkType = linkType;
    }

    public String getLinkType() 
    {
        return linkType;
    }

    public void setLinkId(Long linkId) 
    {
        this.linkId = linkId;
    }

    public Long getLinkId() 
    {
        return linkId;
    }

    public void setLinkName(String linkName) 
    {
        this.linkName = linkName;
    }

    public String getLinkName() 
    {
        return linkName;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bannerImgUrl", getBannerImgUrl())
            .append("linkType", getLinkType())
            .append("linkId", getLinkId())
            .append("linkName", getLinkName())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
